#include <iostream>

using namespace std;

int main()
{
  int n, b=0;
  cout << "Vvedite chislo ";
  cin >> n;

  while (n > 0)
  {
    b = b+n%10;
    n = n/10;
    if(b == 2)
        cout<<"TRUE"<<endl;
    else
        cout<<"FALSE"<<endl;
  }


  return 0;
}
